package cnpm02.j2ee.group3.logic.dao.impl;

import javax.ejb.Local;

import cnpm02.j2ee.group3.logic.dao.generic.AbstractTranslationEntityDao;
import cnpm02.j2ee.group3.model.TicketTypeTranslation;

@Local
public interface TicketTypeTranslationDao extends
		AbstractTranslationEntityDao<TicketTypeTranslation> {
	public static final String COMPONENT_NAME = "ticketTypeTranslationDao";

	final String SELECT_ALL_QUERY = "from TicketTypeTranslation";
	final String SELECT_ALL_BY_LOCALE_QUERY = "from TicketTypeTranslation ttt where ttt.supportedLanguage = :supportedLanguage order by ttt.translation";
	final String SELECT_ENTITY_BY_LOCALE_QUERY = "from TicketTypeTranslation ttt where ttt.ticketType = :ticketType and ttt.supportedLanguage = :supportedLanguage";
}
